package top.huxy.boot.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import top.huxy.boot.model.entity.ExceptionLog;

import java.util.List;
import java.util.Map;

/**
 * @Classname ExceptionLogMapper
 * @Description ExceptionLogMapper
 * @Date 2021/9/19 15:31
 * @Created by huxy
 */
@Mapper
@Repository
public interface ExceptionLogMapper {
    int saveLog(ExceptionLog log);

    int getExceptionLogCount();

    List<ExceptionLog> getExceptionLogList(int leftIndex, int rightIndex);

    List<String> getExceptionLogExceptNames();

    List<ExceptionLog> getExceptionLogListByFilter(Map<String, Object> query);
}
